# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ckbcomp
pkgver=1.231
pkgrel=0
pkgdesc="Compile a XKB keyboard description to a keymap"
url="https://salsa.debian.org/installer-team/console-setup"
arch="noarch"
license="GPL-2.0-or-later"
depends="perl"
options="!check"
subpackages="$pkgname-doc"
source="https://salsa.debian.org/installer-team/console-setup/-/archive/$pkgver/console-setup-$pkgver.tar.gz"
builddir="$srcdir"/console-setup-$pkgver

package() {
	install -D -m755 Keyboard/$pkgname $pkgdir/usr/bin/$pkgname
	install -D -m644 man/$pkgname.1 $pkgdir/usr/share/man/man1/$pkgname.1
}

sha512sums="
131112e6566b5083b5825725839647735e852f373c35bd4ffdf41351fee659ccb372078c46b204ddfd34f4ed0ee2327e4b6984fdadf5e1d69c245f7284db8461  console-setup-1.231.tar.gz
"
